package cn.historia.api;

import org.springframework.ai.chat.ChatResponse;
import reactor.core.publisher.Flux;

/**
 * @package: cn.historia.api
 * @className: IAiService
 * @author: 云溪
 * @description:
 * @date: 2025/10/8 16:01
 * @version: 1.0
 */
public interface IAiService {

    ChatResponse generate(String model, String message);

    Flux<ChatResponse> generateStream(String model, String message);

    Flux<ChatResponse> generateStreamRag(String model, String ragTag, String message);



}
